package com.itheima.service.store;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.store.Question;

import java.io.ByteArrayOutputStream;
import java.util.List;

public interface QuestionService {


    List<Question> findAll();

    Question findById(String id);


    void delete(String...id);

    String save(Question question,Boolean flag);

    void update(Question question,Boolean flag);


     PageInfo findAll(Integer pageNum, Integer pageSize);

    public ByteArrayOutputStream getReport();

}
